import request from '../utils/request'
const api_name = '/subject'
export default {
    //获取所有的课程分类(包括二级分类)
    getAllSubject() {
        return request({
            url: `${api_name}`,
            method: 'get',
        })
    }
}